PASO 15: ¡Hagamos que la boca se abra y se cierre cada vez que hagamos clic!

Un comando está sangrado dentro un evento si tiene 4 espacios o 1 tabulador y tiene un ···· ¬ delante de él.

  • ¡Encuentre el .say( "Hello, name" ) sangrado dentro del evento de clic y cambie el name a su nombre!
  • Desde , arrastre Set Height dentro del evento de clic (debajo de # add other actions... ).
  • ¡Todo el código dentro del evento debe tener un ···· ¬ delante también!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)